﻿using LS.Screening.Application;
using LS.Screening.UI.Common.Mvvm;
using ReactiveUI;

namespace LS.Screening.AvaloniaApp.ViewModels
{
    public class AboutViewModel : ViewModelBase
    {
        ITestAppService testAppService;

        string currentMessage;
        public string CurrentMessage { get => currentMessage; set => this.RaiseAndSetIfChanged(ref currentMessage, value); }

        public AboutViewModel()
        {
            testAppService = App.GetService<ITestAppService>();
            CurrentMessage = testAppService.GetTest();
        }
    }
}
